﻿using System;
using FXC.SL.CS.Util;
using System.Collections.Generic;
using FXC.SL.FXCenterService;
using System.Windows.Media;
using FXC.SL.CS.ChartUtil;
namespace FXC.SL.Interface
{
    public interface IChart
    {
        void ChangeZoomBig();
        void ChangeZoomSmall();
        void Refresh();
        void ChartPropertySetting();
        void SaveData();
        void SaveToImage();
        event EventHandler<PeriodTypeChangeEventArgs> OnPeriodTypeChanged;
        event EventHandler<ChartTypeChangeEventArgs> OnChartTypeChanged;
        event EventHandler OnBackgourdChanged;
        event EventHandler<IsShowVolumeChangeEventArgs> OnShowVolumeChanged;
        event EventHandler<CS.Util.ChartMouseMoveEventArgs> OnMouseMove;
        ChartType ChartType
        {
            get; 
            set;
        }
        PeriodType PeriodType
        {
            get;
            set;
        }
        bool IsShowVolume
        {
            get;
            set;
        }
        string ProductName
        {
            get;
        }
        ChartTheme FXVChartTheme { get; set; }
        bool IsIndicatorEnabled { get; set; }
        /*
        Color BackgroundColor
        {
            get;
            set;
        }
        Color ForegroundColor
        {
            get;
            set;
        }
        Color GridColor
        {
            get;
            set;
        }
        Color BarStrokeColor
        {
            get;
            set;
        }
        Color BarFillColor
        {
            get;
            set;
        }
        Color LineTypeColor
        {
            get;
            set;
        }
        Color VolumeColor
        {
            get;
            set;
        }*/
    }
}
